//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Diagnostics.Contracts;
using OpenLS.Spreadsheet.Parsing;

namespace OpenLS.Spreadsheet.Expressions
{
    class SheetNameExpression: NotQualifiedExpression
    {
        private readonly string _sheetName;

        public SheetNameExpression(string sheetName)
        {
            Contract.Requires(sheetName != null);
            _sheetName = sheetName;
        }

        public string SheetName
        {
            get { return _sheetName; }
        }

        public override Expression QualifiedExpression(RangeFactory factory)
        {
            throw new NotImplementedException();
        }
    }
}